package cn.msqweb.service;


import cn.msqweb.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CategoryService extends IService<Category> {


    /**
     * 新增商品类目
     * @param category
     * @return
     */
    Boolean saveCategory(Category category);

    /**
     * 修改商品类目信息
     * @param category
     * @return
     */
    Boolean modifyCategory(Category category);

    /**
     * 删除商品类目
     * @param categoryId
     * @return
     */
    Boolean removeCategoryById(Long categoryId);
}
